﻿<UserControl x:Class="personalplaner.databasewizard.views.EndView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:p="clr-namespace:personalplaner.databasewizard.Properties">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock Text="{x:Static p:Resources.End}" FontSize="22" FontWeight="Thin" Foreground="#E1000000" Margin="50,-5,0,15"/>

        <Grid Grid.Row="1">
            <TextBlock Text="{x:Static p:Resources.EndMessage}" TextWrapping="Wrap" FontSize="14" Margin="20,60,80,20" VerticalAlignment="Top"/>
        </Grid>

        <!--<StackPanel Grid.Row="2" Margin="60,0,40,20" Orientation="Horizontal" HorizontalAlignment="Right">
            <TextBlock Text="{x:Static p:Resources.StartPersonalplanerOnClose}"/>
            <CheckBox VerticalAlignment="Bottom" IsChecked="{Binding StartPersonalplanerOnClose}"/>
        </StackPanel>-->
        <CheckBox Grid.Row="2" Margin="60,0,40,20" VerticalAlignment="Bottom" IsChecked="{Binding StartPersonalplanerOnClose}" HorizontalAlignment="Right">
            <TextBlock Text="{x:Static p:Resources.StartPersonalplanerOnClose}"/>
        </CheckBox>
        
    </Grid>
</UserControl>
